package io.renren.modules.job.task.basedata;

import io.renren.modules.basedata.service.ParkOperatorUploadService;
import io.renren.modules.job.task.ITask;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component("parkOperatorTask")
public class ParkOperatorTask implements ITask {

    private static final Logger log = LoggerFactory.getLogger(ParkOperatorTask.class);

    @Autowired
    private ParkOperatorUploadService parkOperatorUploadService;

    @Override
    public void run(String params) {
        try {
            log.info(parkOperatorUploadService.ParkOperatorUpload());
        }catch (Exception e){

        }finally {

        }
    }
}
